package com.sky.mapper;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    /**
     * 批量插入菜品口味数据
     * @param dishFlavorList
     */
    void batchInsertDishFlavor(@Param("dishFlavorList") List<DishFlavor> dishFlavorList);

    /**
     * 根据菜品id删除菜品口味数据
     * @param ids
     */
    void deleteByIds(Long[] ids);
}
